const path = require('path')
module.exports = {
    entry: path.join(__dirname, 'src/reactIndex.js'),
    output: {
        path: path.join(__dirname, 'dist'),
        filename: 'index.js'
    },
    module: {
        rules: [
            {
                test: /\.js$/,
                use: ['babel-loader']
            }
        ]
    },
    mode: 'development'
}